<template>
 <div>我是子组件</div>
 <!-- 子组件插槽传入数据 -->
 <slot :user="user" name="Info"></slot>
</template>
<script>
export default
{
    data() {
        return {
            user: {
                name: "cq",
                age: 18,
                height:1.90
            }
        }
    },
}
</script>
<style scoped>
</style>